package com.gxa.security.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gxa.common.base.RespResult;
import com.gxa.security.dto.FindUserDTO;
import com.gxa.security.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;


/**
* @author 25688
* @description 针对表【user】的数据库操作Mapper
* @createDate 2023-04-08 09:40:53
* @Entity generator.domain.User
*/
@Mapper
public interface UserMapper extends BaseMapper<User> {

    int addUser(User user);


   User findUserByUsername(String username);

    int updateStatus(long userId);

    int resetPassword(@Param("userId") long userId,@Param("password") String password);



}




